package com.suning.sawp.po.assistant;

import java.io.Serializable;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "Assistant")
public class Assistant implements Serializable{
    
    /**
     */
    private static final long serialVersionUID = -1091350052562028453L;

    @Id
    private String id;
    
    /**
     * 工号
     */
    private String staffId;
    
    /**
     * 云导购Id
     */
    private String cloudGuideId;
    
    /**
     * 云导购设置的状态：
     * 0：未选择，未当值。1：已选择，当值
     */
    private String status;
    
    /**
     * 创建时间
     */
    private Date createTime;
    
    /**
     * 设置时间
     */
    private Date updateTime;
    
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getCloudGuideId() {
        return cloudGuideId;
    }
    public void setCloudGuideId(String cloudGuideId) {
        this.cloudGuideId = cloudGuideId;
    }
    public String getStatus() {
        return status;
    }
    public void setStatus(String status) {
        this.status = status;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    
    @Override
    public String toString(){
        return ToStringBuilder.reflectionToString(this);
    }
    public String getStaffId() {
        return staffId;
    }
    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }
}
